<p>IllegalMonitorStateException is generally only
   thrown in case of a design flaw in your code (calling wait or
   notify on an object you do not hold a lock on).</p>

<p>
This rule is deprecated, use {rule:squid:S2235} instead.
</p>
